import 'package:fish_redux/fish_redux.dart';

import 'action.dart';
import 'state.dart';

Reducer<MineState> buildReducer() {
  return asReducer(
    <Object, Reducer<MineState>>{
      MineAction.refresh: _refresh,
    },
  );
}

MineState _refresh(MineState state, Action action) {
  return state.clone();
}
